Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot support on supervisor #3062

Merged

Conversation

sipriyaa
Copy link
Contributor

@sipriyaa sipriyaa commented Sep 24, 2024

What this PR does / why we need it:
This PR includes existing snapshot-related code changes and additions to support snapshots on Supervisor components such as PodVM, VM Service, Stretched Supervisor, and Multi SVC.

Testing done:
Yes

Supervisor Logs:

supervisor-logs.txt

Lint Check:
sipriya@C02CR8ENMD6M vsphere-csi-driver % golangci-lint run --enable=lll
sipriya@C02CR8ENMD6M vsphere-csi-driver % make golangci-lint
hack/check-golangci-lint.sh
golangci/golangci-lint info checking GitHub for tag 'v1.59.1'
golangci/golangci-lint info found version: 1.59.1 for v1.59.1/darwin/amd64
golangci/golangci-lint info installed /Users/sipriya/go/bin/golangci-lint
INFO golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
INFO [config_reader] Config search paths: [./ /Users/sipriya/snapshot-supervisor-support-set1/vsphere-csi-driver /Users/sipriya/snapshot-supervisor-support-set1 /Users/sipriya /Users /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 8 linters: [errcheck gosimple govet ineffassign lll misspell staticcheck unused]
INFO [loader] Go packages loading at mode 575 (compiled_files|exports_file|imports|name|deps|files|types_sizes) took 1m3.638701092s
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 425.612542ms

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 24, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 24, 2024
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 10 times, most recently from f55fac9 to 84f3b09 Compare October 2, 2024 17:26
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 4 times, most recently from 5c9c6a1 to af59ec0 Compare October 15, 2024 06:00
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch from c1ed874 to 9bf7cf2 Compare October 17, 2024 17:22
@sipriyaa sipriyaa changed the title <WIP> Snapshot support on supervisor Snapshot support on supervisor Oct 17, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 17, 2024
@kavyashree-r
Copy link
Contributor

/approve

@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 2 times, most recently from 00cd63d to 662ce86 Compare October 18, 2024 09:08
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 2 times, most recently from 13fea09 to 5852883 Compare October 18, 2024 10:32
Copy link
Contributor

@rajguptavm rajguptavm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a few comments

tests/e2e/csi_snapshot_basic.go Show resolved Hide resolved
tests/e2e/snapshot_stretched_supervisor.go Show resolved Hide resolved
tests/e2e/snapshot_vmservice_vm.go Outdated Show resolved Hide resolved
tests/e2e/snapshot_vmservice_vm.go Outdated Show resolved Hide resolved
tests/e2e/snapshot_vmservice_vm.go Outdated Show resolved Hide resolved
tests/e2e/snapshot_vmservice_vm.go Outdated Show resolved Hide resolved
tests/e2e/snapshot_vmservice_vm.go Outdated Show resolved Hide resolved
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 3 times, most recently from 0dcc307 to f0a7910 Compare October 21, 2024 06:23
tests/e2e/csi_snapshot_basic.go Outdated Show resolved Hide resolved
tests/e2e/csi_snapshot_basic.go Show resolved Hide resolved
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch from 459744a to 59991ee Compare October 21, 2024 09:34
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch 2 times, most recently from c41bdd0 to 2b9fdda Compare October 22, 2024 09:49
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch from 5d00dbc to 91ed8db Compare October 22, 2024 17:39
Copy link
Contributor

@rajguptavm rajguptavm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left few comments

@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch from 84bc1a1 to 7cb4399 Compare October 23, 2024 07:03
@sipriyaa sipriyaa force-pushed the snapshot-supervisor-support-set1 branch from c078faf to 57f27e0 Compare October 23, 2024 07:17
Copy link
Contributor

@rajguptavm rajguptavm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kavyashree-r
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 23, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kavyashree-r, rajguptavm, sipriyaa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit b4136a5 into kubernetes-sigs:master Oct 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants